package com.yingxin.yxerp.module.appversion.vo.resp;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.yingxin.yx.framework.commons.vo.CommonRespVo;
import io.swagger.annotations.ApiModel;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.Date;

@Data
@EqualsAndHashCode(callSuper = true)
@ApiModel(value = "AppVersionRespVo对象", description = "app version")
public class AppVersionRespVo extends CommonRespVo {

    private static final long serialVersionUID = 1L;

    /**
     * id
     */
    private String id;

    /**
     * app名称
     */
    private String appName;

    /**
     * 类型
     */
    private String type;

    /**
     * 版本
     */
    private String version;

    /**
     * 版本代号
     */
    private Integer codeVersion;

    /**
     * 更新说明
     */
    private String versionDesc;

    /**
     * 更新人id
     */
    private String versionId;

    /**
     * 更新人
     */
    private String versionName;

    /**
     * 更新时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date versionTime;

}

